package org.easy.platform.system.business.impl;

import lombok.extern.slf4j.Slf4j;
import org.easy.common.utils.StringUtils;
import org.easy.platform.system.business.ISystemBusiness;
import org.easy.platform.system.constant.SystemServiceNameConstants;
import org.springframework.stereotype.Component;

/**
 * 类说明
 *
 * @author YanMing
 * @date 2024/4/29
 */
@Slf4j
@Component
public class SystemBusinessImpl implements ISystemBusiness {

    @Override
    public String hello(String content) {
        String name = SystemServiceNameConstants.SYSTEM_NAME;
        String nacos = SystemServiceNameConstants.SYSTEM_NACOS;
        return StringUtils.format("您好 {} ，当前使用模块【{}[{}]】，请使用Web项目进行访问。",content, name, nacos);
    }
}
